//
//  GCPresenter.h
//  CBHGroupCar
//
//  Created by mac on 2018/1/24.
//  Copyright © 2018年 mac. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>
@class GYMainTab;
@interface GCPresenter : NSObject
//主视图控制器
@property (nonatomic,strong) GYMainTab *mainVC;

+(instancetype)shareInterface;

-(void)loadMain;
-(void)loadLead;
-(void)loadLogin;
-(void)loadChooseVC;
//-(void)loadVCWithInfo:(NSDictionary *)info from:(id)fromer;
///打电话
-(void)phoneCall:(NSString *)phone;
///查看大图
-(void)showOriginalImages:(NSArray *)originalImages andImageViews:(NSArray *)sourceImgageViews withIndex:(NSInteger)index;
-(void)showOriginalImages:(NSArray *)originalImages andImageViews:(NSArray *)sourceImgageViews;
///分享
-(void)shareContent:(NSString *)content from:(UIViewController *)viewController;
@end


typedef void(^GYShareViewHandler)(NSInteger index);
@interface GYShareView : UIView
@property (nonatomic,copy) GYShareViewHandler callback;
+(instancetype)shareInterface;
@end
